package com.doudou.oauth.validate;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * @Author: 傻男人
 * @Date: 2020/5/21 15:27
 * @Version: 1.0
 * @Description: 验证码生成器
 */
public interface ValidateCodeGenerator {

    /**
     * 生成验证码
     * @param request
     * @return
     */
    ValidateCode generate(ServletWebRequest request);

}